package javabean;

import java.util.Date;

public class Complaint {
    private int complaintID;
    private int orderID;
    private String staffID;
    private String customerID;
    private String evaluation;
    private String complaintStatus;
    private Date complaintDate;
    private String complaintDescription;
    private String handlingResult;

    // 构造方法
    public Complaint() {
    }

    // Getter 和 Setter 方法

    public int getComplaintID() {
        return complaintID;
    }

    public void setComplaintID(int complaintID) {
        this.complaintID = complaintID;
    }

    public int getOrderID() {
        return orderID;
    }

    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    public String getStaffID() {
        return staffID;
    }

    public void setStaffID(String staffID) {
        this.staffID = staffID;
    }

    public String getCustomerID() {
        return customerID;
    }

    public void setCustomerID(String customerID) {
        this.customerID = customerID;
    }

    public String getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(String evaluation) {
        this.evaluation = evaluation;
    }

    public String getComplaintStatus() {
        return complaintStatus;
    }

    public void setComplaintStatus(String complaintStatus) {
        this.complaintStatus = complaintStatus;
    }

    public Date getComplaintDate() {
        return complaintDate;
    }

    public void setComplaintDate(Date complaintDate) {
        this.complaintDate = complaintDate;
    }

    public String getComplaintDescription() {
        return complaintDescription;
    }

    public void setComplaintDescription(String complaintDescription) {
        this.complaintDescription = complaintDescription;
    }

    public String getHandlingResult() {
        return handlingResult;
    }

    public void setHandlingResult(String handlingResult) {
        this.handlingResult = handlingResult;
    }

    // toString 方法
    @Override
    public String toString() {
        return "Complaint{" +
                "complaintID=" + complaintID +
                ", orderID=" + orderID +
                ", staffID='" + staffID + '\'' +
                ", customerID='" + customerID + '\'' +
                ", evaluation='" + evaluation + '\'' +
                ", complaintStatus='" + complaintStatus + '\'' +
                ", complaintDate=" + complaintDate +
                ", complaintDescription='" + complaintDescription + '\'' +
                ", handlingResult='" + handlingResult + '\'' +
                '}';
    }
}
